
var pageload = {
    api:"?g=user&m=index&a=is_login"
};
pageload.init=function(){
    getUserInfo(pageload.api);
    loadNowCall();
    loadImportant();
    tabSwitch();
    getTeacherList();
    loadcallHistory();
}
document.onkeydown = function (e) {
	var ev = document.all ? window.event : e;
	if (ev.keyCode == 13) {
		checkSend('msg_content',1,'message')
		return false;
	} else {
		return true;
	}
};
